function GetPlaces(Lat, Long) {

/* 
Owner Yaffare
Client id YKJQWB3KSX3TIC0PTYOXCJ2OZUMJ2I3S45B52FBJUFK0O2FM
Client secret OL5ECMYMSDPW3M54E5YAELPQIPDRDLJ5LVP1QUUSKAA1JKOO

*/

var xmlhttp = new XMLHttpRequest({mozSystem: true});

xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
	//console.log(xmlhttp.responseText);
    document.getElementById("ajax-panel").innerHTML=xmlhttp.responseText;
    }
  }
//xmlhttp.open("POST","http://12h52.fr/firebox/php/search-venues.php",true);
xmlhttp.open("POST","php/search-venues.php",true);

var params = "ll="+Lat+","+Long+"";
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.setRequestHeader("Content-length", params.length);
xmlhttp.setRequestHeader("Connection", "close");

xmlhttp.send(params);
//$('#ajax-panel').html(xmlhttp.responseText);
/*

			$.ajax({
			  type: 'POST',
			  url: 'php/search-venues.php',
			  data: { ll: ""+Lat+","+Long+"" },
			  beforeSend:function(){
				// this is where we append a loading image
				$('#ajax-panel').html('<progress></progress>');
			  },
			  success:function(data){
				// successful request; do something with the data
				$('#ajax-panel').empty();
				$('#ajax-panel').html($(data));
				/* $(data).find('item').each(function(i){
				  $('#ajax-panel').append('<h4>' + $(this).find('title').text() + '</h4><p>' + $(this).find('link').text() + '</p>');
				});*//*
			  },
			  error:function(){
				// failed request; give feedback to user
				$('#ajax-panel').html('<p class="error"><strong>Oops!</strong> Try that again in a few moments.</p>');
			  }
			});*/
}